#include<string>
#include<iostream>

#ifndef ITEM_H
#define ITEM_H


using namespace std;

class Item
{
    public:
    	Item(){}
        Item(string name,string effect,int number):name(name),effect(effect),number(number){}
        Item(Item& i){name=i.name;effect=i.effect;number=i.number;}
        const string showName(){return name;}
        const string showEffect(){return effect;}
        const int showNumber(){return number;}
        void use(){number--;}
    private:
        string name;
        string effect;
        int number;

};


#endif // ITEM_H

